#include "enesim_bench_common.h"
/*============================================================================*
 *                                 Global                                     *
 *============================================================================*/
void perlin_bench(void)
{
	Enesim_Renderer *r;
	Enesim_Surface *dst = NULL;
	Renderer_Data data;

	surfaces_create(NULL, 0, NULL, 0, &dst, opt_fmt);

	/* 4, 0.1, 0.8 */
	/* 6 0.01 1.2 triggers the error */
	r = enesim_renderer_perlin_new();
	enesim_renderer_perlin_octaves_set(r, 4);
	enesim_renderer_perlin_xfrequency_set(r, 0.1);
	enesim_renderer_perlin_yfrequency_set(r, 0.003);
	enesim_renderer_perlin_persistence_set(r, 0.8);
	renderer_run(r, dst, "Perlin", "perlin", &data);
}
